package com.atguigu.gulimall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//此处显示指定feign客户端位置；默认情况下 扫描主配置类（启动类）所在包下所有子包

/**
 *
 *
 *
 *
 *
 * 5.模板引擎
 * 1).
 *
 *
 */
@EnableFeignClients(basePackages = {"com.atguigu.gulimall.product.feign"})
@EnableDiscoveryClient
@MapperScan("com.atguigu.gulimall.product.dao")
@SpringBootApplication
public class GulimallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallProductApplication.class, args);
    }

}
